package com.zslc.foreignoption.dao;

import com.alibaba.fastjson2.JSONObject;
import com.zslc.foreignoption.entity.TweetInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @description:
 * @author: Gaoyc
 * @date: 2024-06-21 16:41
 **/
@Mapper
public interface TweetInfoMapper {
    Integer insertTweetData(JSONObject tweetDataMap);

    TweetInfo selectOneById(String id);

    List<TweetInfo> list(@Param("page") Integer page, @Param("pageSize")Integer pageSize);

    Integer count();
}
